﻿using System.IO;
using System.Web;

namespace Base.Common.httpServer {
    public class FileStreamResult 
    {
        public readonly Stream _stream;
        
        public readonly string _fileName;

        public FileStreamResult(Stream stream, string fileName)
        {
            _stream = stream;
    
            _fileName = HttpUtility.UrlEncode(fileName ,System.Text.Encoding.UTF8) ;
        }
    }
}
